/*
 *  CTile.cpp
 *  TestRPG
 *
 *  Created by Michael Rhodes on 10-06-08.
 *  Copyright 2010 Tigerstudios Entertainment. All rights reserved.
 *
 */

#include "headers/Tigerengine.h"

// ------------------------------------------------------------
// IsWalkable()
//
//   This method will check if the player can move to this tile
//   from a given direction.  the variable, side, will be a ORed
//	 list of possible sides.
// ------------------------------------------------------------
bool CTile::IsWalkable(int side)
{
	if(m_walkable && side)
	{
		return true;
	}
	else{
		return false;
	}
} // bool CTile::IsWalkable(int side)
